#!/usr/bin/env python
# -*- coding: utf-8 -*-

from datetime import datetime

from loguru import logger

logger.add("logs/sc-nebula-data-framework-shell/log_file_" + datetime.now().strftime("%Y-%m-%d") + ".log",
           rotation="1 day")


def get_logger():
    return logger
